/**
 * 
 */
package cn.myworld.orm.core;

import java.util.HashMap;
import java.util.Map;

/** 
 * @ClassName: Mapper 
 * @Description: 用来封装并存储从Xxx.mapper.xml中或从实体类中解析得到的映射信息
 * @author zhuqiang
 * @date 2018年12月18日 上午11:28:21 
 */
public class Mapper {
    private String className;  //类名
    private String tableName;  //表名
    private Map<String,String> idMapper=new HashMap();  //主键字段和属性
    private Map<String,String> propMapping=new HashMap();  //非主键字段和属性
	/**
	 * @return the className
	 */
	public String getClassName() {
		return className;
	}
	/**
	 * @param className the className to set
	 */
	public void setClassName(String className) {
		this.className = className;
	}
	/**
	 * @return the tableName
	 */
	public String getTableName() {
		return tableName;
	}
	/**
	 * @param tableName the tableName to set
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	/**
	 * @return the idMapper
	 */
	public Map<String, String> getIdMapper() {
		return idMapper;
	}
	/**
	 * @param idMapper the idMapper to set
	 */
	public void setIdMapper(Map<String, String> idMapper) {
		this.idMapper = idMapper;
	}
	/**
	 * @return the propMapping
	 */
	public Map<String, String> getPropMapping() {
		return propMapping;
	}
	/**
	 * @param propMapping the propMapping to set
	 */
	public void setPropMapping(Map<String, String> propMapping) {
		this.propMapping = propMapping;
	}
	/**
	 * @param className
	 * @param tableName
	 * @param idMapper
	 * @param propMapping
	 */
	public Mapper(String className, String tableName, Map<String, String> idMapper, Map<String, String> propMapping) {
		super();
		this.className = className;
		this.tableName = tableName;
		this.idMapper = idMapper;
		this.propMapping = propMapping;
	}
	/**
	 * 
	 */
	public Mapper() {
		super();
	}
    
    
}
